package entity;

public class Student {
    private int studentId;
    private String name;
    private String dormBuildName;
    private String dormName;
    private String sex;

    public Student() {}

    public Student(int studentId, String name, String dormBuildName, String dormName, String sex) {
        this.studentId = studentId;
        this.name = name;
        this.dormBuildName = dormBuildName;
        this.dormName = dormName;
        this.sex = sex;
    }

    // Getter和Setter方法
    public int getStudentId() { return studentId; }
    public void setStudentId(int studentId) { this.studentId = studentId; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getDormBuildName() { return dormBuildName; }
    public void setDormBuildName(String dormBuildId) { this.dormBuildName = dormBuildId; }

    public String getDormName() { return dormName; }
    public void setDormName(String dormName) { this.dormName = dormName; }

    public String getSex() { return sex; }
    public void setSex(String sex) { this.sex = sex; }
}